package com.dl.zd;

import java.util.List;

import org.dom4j.Element;

import com.dl.DL;
import com.dom4j.XF;
//消费详单
public class XD {
	private static Element cElement = null;
	private static String a = null;
	private static List<Element> list = null;

	public static void XD() {
		Element element = XF.zxSJH(DL.num, XF.root);
		list = element.elements();
		for (int i = 0; i < list.size(); i++) {
			String str = list.get(i).getText();
			if (str.equals("")) {
				System.out.println(list.get(i).getName() + "没有消费");
			} else {
				System.out.println(str);
			}
		}
	}
}
